package com.bp.village.enums;

import java.util.HashMap;
import java.util.Map;
/**
 * @author shaominjie
 * @description 房产用途
 * @date 2021/2/1 0001 15:27
 */
public enum EnumBuildingUseType {
    /** 住宅 **/
    TYPE_0(0,"住宅"),
    /** 公共设施 **/
    TYPE_1(1,"公共设施"),
    /** 工业 **/
    TYPE_2(2,"工业"),
    /** 仓储 **/
    TYPE_3(3,"仓储"),
    /** 商业 **/
    TYPE_4(4,"商业"),
    /** 商业服务 **/
    TYPE_5(5,"商业服务"),
    /** 金融保险 **/
    TYPE_6(6,"金融保险"),
    /** 电讯信息 **/
    TYPE_7(7,"电讯信息"),
    /** 卫生医疗 **/
    TYPE_8(8,"卫生医疗"),
    /** 公共运输 **/
    TYPE_9(9,"公共运输"),
    /** 园林绿化 **/
    TYPE_10(10,"园林绿化"),
    /** 旅游 **/
    TYPE_11(11,"旅游"),
    /** 教育 **/
    TYPE_12(12,"科研"),
    /** 交通 **/
    TYPE_13(13,"交通"),
    /** 体育 **/
    TYPE_14(14,"体育"),
    /** 文化 **/
    TYPE_15(15,"文化"),
    /** 办公 **/
    TYPE_16(16,"办公"),
    /** 新闻 **/
    TYPE_17(17,"新闻"),
    /** 娱乐 **/
    TYPE_18(18,"娱乐");

    public final static Map<Integer, String> MAP = new HashMap<Integer, String>() {
        {
            put(0,"住宅");
            put(1,"公共设施");
            put(2,"工业");
            put(3,"仓储");
            put(4,"商业");
            put(5,"商业服务");
            put(6,"金融保险");
            put(7,"电讯信息");
            put(8,"卫生医疗");
            put(9,"公共运输");
            put(10,"园林绿化");
            put(11,"旅游");
            put(12,"科研");
            put(13,"交通");
            put(14,"体育");
            put(15,"文化");
            put(16,"办公");
            put(17,"新闻");
            put(18,"娱乐");
        }
    };
    private Integer type;
    private String name;

    EnumBuildingUseType(Integer type, String name) {
        this.type = type;
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
